package com.wit.witmg.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 电耗监测记录表（流程数据）
 * </p>
 *
 * @author bob
 * @since 2025-08-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TMonitElect对象", description="电耗监测记录表（流程数据）")
public class TMonitElect implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "自增主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "电表id")
    private String sid;

    @ApiModelProperty(value = "倍率")
    private BigDecimal sc;
    private BigDecimal pw;//设备额定功率

    @ApiModelProperty(value = "电表读数")
    private BigDecimal ep;

    @ApiModelProperty(value = "记录时间")
    private Long date;

    @ApiModelProperty(value = "被监测设备编号")
    private String bn;

    @ApiModelProperty(value = "设备名称")
    private String na;

    @ApiModelProperty(value = "生产产品编号")
    private String pbn;

    @ApiModelProperty(value = "备注")
    private String remark;

    private String loc;//设备所在车间
}
